package com.threeti.jiayusms.domain.service.communicationfunction;

import java.util.List;

import com.threeti.jiayusms.domain.model.CommunicationFunction;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationFunctionQueryService {

	public CommunicationFunction findCommunicationFunctionBy(Long functionId);

	/** 根据通信规则编号取得特定的通信规则 */
	CommunicationFunction findCommunicationFunctionBy(String functionId);

	/** 分页取得所有通信规则(无条件查询) */
	PagedListHandler<CommunicationFunction> findAllFunctionTemplatesByPage(int currentPageIndex, int startingIndex);
	
	PagedListHandler<CommunicationFunction> findFunctionTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);	

}
